cc_test(
  name = "all_test",
  size = "small",
  srcs = ["all_test.cpp"],
  deps = [    # 依赖我自己的库和googletest库
          ":rvalue_ref",
          ":std_move",
          ":std_forward",
          ":std_emplace_back",
          ":std_unordered_container",
          "@com_google_googletest//:gtest_main"
     ],
)

cc_library(
    name  = "rvalue_ref",
    srcs  = ['rvalue_ref.cpp'],
    hdrs  = ['rvalue_ref.h'],
)


cc_library(
    name  = "std_move",
    srcs  = ['std_move.cpp'],
    hdrs  = ['std_move.h'],
)

cc_library(
    name  = "std_forward",
    srcs  = ['std_forward.cpp'],
    hdrs  = ['std_forward.h'],
)

cc_library(
    name  = "std_emplace_back",
    srcs  = ['std_emplace_back.cpp'],
    hdrs  = ['std_emplace_back.h'],
)

cc_library(
    name  = "std_unordered_container",
    srcs  = ['std_unordered_container.cpp'],
    hdrs  = ['std_unordered_container.h'],
)